package com.classic.download;

import java.io.Serializable;
import java.nio.channels.Channel;
import java.util.List;

public class APP implements Serializable {
    public APP() {
    }

    public APP(String name, String logo, String versions) {
        this.name = name;
        this.logo = logo;
        this.versions = versions;
    }


    //app名称
    private String name;
    //applogo
    private String logo;
    //当前版本
    private String versions;
    private String packageName;

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }
    /**
     * 展示图
     */
    private List<String> patternmaking;

    //简介
    private String introduction;

    private List<Channel> channel;

    public List<Channel> getChannel() {
        return channel;
    }

    public void setChannel(List<Channel> channel) {
        this.channel = channel;
    }

    /**
     * 渠道信息与Url
     */
    public static class Channel {
        public String ChannelName;
        public String downloadUrl;

        public Channel(String channelName, String downloadUrl) {
            ChannelName = channelName;
            this.downloadUrl = downloadUrl;
        }

        public String getChannelName() {
            return ChannelName;
        }

        public void setChannelName(String channelName) {
            ChannelName = channelName;
        }

        public String getDownloadUrl() {
            return downloadUrl;
        }

        public void setDownloadUrl(String downloadUrl) {
            this.downloadUrl = downloadUrl;
        }
    }


    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }


    public List<String> getPatternmaking() {
        return patternmaking;
    }

    public void setPatternmaking(List<String> patternmaking) {
        this.patternmaking = patternmaking;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getVersions() {
        return versions;
    }

    public void setVersions(String versions) {
        this.versions = versions;
    }


}
